﻿<%@ Page Language="C#" ValidateRequest="false" MasterPageFile="~/MasterPage/PageTemplate.Master" AutoEventWireup="true"
    Codebehind="Manager.aspx.cs" Inherits="FrameWork.web.Module.ITMS.Upload.News.Manager"
    Title="新闻管理" %>

<asp:Content ID="Content1" ContentPlaceHolderID="PageBody" runat="server">

<script language="Javascript1.2"  ><!-- // load htmlarea
_editor_url = "<%=Page.ResolveClientUrl("~/")%>inc/htmlarea/";                     // URL to htmlarea files
var win_ie_ver = parseFloat(navigator.appVersion.split("MSIE")[1]);
if (navigator.userAgent.indexOf('Mac')        >= 0) { win_ie_ver = 0; }
if (navigator.userAgent.indexOf('Windows CE') >= 0) { win_ie_ver = 0; }
if (navigator.userAgent.indexOf('Opera')      >= 0) { win_ie_ver = 0; }
if (win_ie_ver >= 5.5) {
 document.write('<scr' + 'ipt src="' +_editor_url+ 'editor.js"');
 document.write(' language="Javascript1.2"></scr' + 'ipt>');  
} else { document.write('<scr'+'ipt>function editor_generate() { return false; }</scr'+'ipt>'); }
// --></script> 

    <FrameWorkWebControls:HeadMenuWebControls ID="HeadMenuWebControls1" runat="server"  HeadTitleTxt="新闻管理 ">
        <FrameWorkWebControls:HeadMenuButtonItem ButtonPopedom="List" ButtonUrl="Default.aspx"
            ButtonUrlType="Href" ButtonVisible="True" ButtonName="新闻管理 " />
    </FrameWorkWebControls:HeadMenuWebControls>
    <FrameWorkWebControls:TabOptionWebControls ID="TabOptionWebControls1" runat="server">
        <FrameWorkWebControls:TabOptionItem ID="TabOptionItem1" runat="server" Tab_Name="查看/修改/增加新闻管理 ">
            <table width="100%" border="0" cellspacing="1" cellpadding="3" align="center">
                
                                <tr id="A_CatsNameSearch" runat="server">
                                    <td class="table_body ">
                                        <asp:Literal ID="A_CatsNameSearchTxt" runat="server"></asp:Literal></td>
                                    <td class="table_none ">
                                        <asp:DropDownList ID="A_Cat" runat="server">
                                        </asp:DropDownList>
                                        <asp:Label ID="A_Cat_Disp" runat="server"></asp:Label></td>
                                </tr>
                                <tr id="A_TitleSearch" runat="server">
                                    <td class="table_body ">
                                        <asp:Literal ID="A_TitleSearchTxt" runat="server"></asp:Literal></td>
                                    <td class="table_none ">
                                        <asp:TextBox  ID="A_Title" Columns="40" title="请输入标题~255:!" runat="server" CssClass="text_input"></asp:TextBox>
                                        <asp:Label ID="A_Title_Disp" runat="server"></asp:Label></td>
                                </tr>
                                <tr id="A_TitleSubSearch" runat="server">
                                    <td class="table_body ">
                                        <asp:Literal ID="A_TitleSubSearchTxt" runat="server"></asp:Literal></td>
                                    <td class="table_none ">
                                        <asp:TextBox ID="A_TitleSub" Columns="40" title="请输入子标题~255:" runat="server" CssClass="text_input"></asp:TextBox>
                                        <asp:Label ID="A_TitleSub_Disp" runat="server"></asp:Label></td>
                                </tr>
                                <tr id="A_PhotoSearch" runat="server">
                                    <td class="table_body ">
                                        <asp:Literal ID="A_PhotoSearchTxt" runat="server"></asp:Literal></td>
                                    <td class="table_none ">
                                        <asp:TextBox style="display:none" ID="A_Photo" title="请输入照片~255:" runat="server" CssClass="text_input"></asp:TextBox>
                                        <asp:Label ID="A_Photo_Disp" runat="server"></asp:Label>
                                        <asp:FileUpload ID="A_Photo_FileUpload" CssClass="text_input" runat="server" /> 
                                        </td>
                                </tr>
                                <tr id="A_TxtSearch" runat="server">
                                    <td class="table_body ">
                                        <asp:Literal ID="A_TxtSearchTxt" runat="server"></asp:Literal></td>
                                    <td class="table_none ">
                                        <asp:TextBox ID="A_Txt" title="请输入内容~:!" runat="server" CssClass="tex_input" TextMode="MultiLine" Width="100%" Rows="15"></asp:TextBox>
                                        <%if ((CMD=="New") || (CMD=="Edit"))
                                          {  %> 
                                        <script language="JavaScript1.2" defer>editor_generate('<%=A_Txt.UniqueID %>');</script> 
                                       <%}%> 
                                        <asp:Label ID="A_Txt_Disp" runat="server"></asp:Label></td>
                                </tr>
                                <tr id="A_DateTimeSearch" runat="server">
                                    <td class="table_body ">
                                        <asp:Literal ID="A_DateTimeSearchTxt" runat="server"></asp:Literal></td>
                                    <td class="table_none ">
                                        <asp:Label ID="A_DateTime_Disp" runat="server"></asp:Label></td>
                                </tr>                
                <tr id="ButtonOption" runat="server">
                    <td align="right" colspan="2">
                        <asp:Button ID="Button1" runat="server" CssClass="button_bak" Text="确定" OnClick="Button1_Click" />
                        <input id="Reset1" class="button_bak" type="reset" value="重填" />
                    </td>
                </tr>
            </table>
        </FrameWorkWebControls:TabOptionItem>
    </FrameWorkWebControls:TabOptionWebControls>
</asp:Content>